package gern.entity;

import gern.anno.MyColumn;
import gern.anno.MyPrimaryKey;
import gern.anno.MyTable;

import java.util.Date;

@MyTable(name = "t_user")
public class User {
    @MyPrimaryKey(column = "id")
    private String id;
    @MyColumn(column = "na_me")
    private String name;
    @MyColumn(column = "my_passwd")
    private String passwd;

    @MyColumn(column = "create_date")
    private Date createDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
